package com.wpl.user.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="音乐", description="")
public class Music implements Serializable {
    @TableId(value = "id" ,type= IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "歌名")
    private String name;
    @ApiModelProperty(value = "歌曲地址")
    private String url;
    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer deleted;

}
